/**
 * $Revision: 1.0 $
 * $Author: Geln Yang $
 * $Date: Jun 30, 2009 9:54:23 AM $
 *
 * Author: Eric Yang
 * Date  : Jun 30, 2009 9:54:23 AM
 *
 */
package c4j.project.report;

import java.io.IOException;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import c4j.project.report.ProjectReporter;

/**
 * @author Eric Yang
 * @version 1.0
 */
public class TestProjectReporter {

	public static void main(String[] args) throws IOException {
		Set<String> filterDirs = new HashSet<String>();

		filterDirs.add("----");
		filterDirs.add("lib");
		filterDirs.add("WEB-INF");
		filterDirs.add("pattern");
		filterDirs.add("doc");
		filterDirs.add("build");

		Map<String, Object> parameters = new HashMap<String, Object>();
		parameters.put(ProjectReporter.BASE_DIRECTORY, "D:\\Project Code\\FB-2008-01-23-SWIFT\\");
		parameters.put(ProjectReporter.OUTPUT_DIRECTORY, "e:\\");
		parameters.put(ProjectReporter.FILTER_DIRECTORIES, filterDirs);
		parameters.put(ProjectReporter.DEFAULT_AUTHOR, "Eric Yang");
		parameters.put(ProjectReporter.PROJECT_MODULE, "com\\comwave\\swiftnet\\fund");

		ProjectReporter.getConfigurationFilesHtmlList(parameters);
		ProjectReporter.getJavaFilesHtmlList(parameters);
		ProjectReporter.getJspFilesHtmlList(parameters);

	}
}
